home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / share / src / OpenGL / toolkits / libtk / private.h.z / private.h
Encoding:
C/C++ Source or Header  |  1996-12-06  |  892 b   |  40 lines

  1. #include <X11/Xlib.h>
  2. #include <X11/Xutil.h>
  3. #include <GL/glx.h>
  4.  
  5. #if defined(__cplusplus) || defined(c_plusplus)
  6. #define class c_class
  7. #endif
  8.  
  9.  
  10. typedef struct _WINDOW_REC {
  11.     int x, y, w, h;
  12.     GLenum type;
  13.     GLenum dmPolicy;
  14.     Window wMain, wOverlay;
  15.     XVisualInfo *vInfoMain, *vInfoOverlay;
  16.     Colormap cMapMain, cMapOverlay;
  17.     GLXContext cMain, cOverlay;
  18. } WINDOW_REC;
  19.  
  20.  
  21. extern Display *xDisplay;
  22. extern int xScreen; 
  23. extern Window wRoot;
  24. extern WINDOW_REC w;
  25. extern Atom deleteWindowAtom;
  26.  
  27. extern void (*ExposeFunc)(int, int);
  28. extern void (*ReshapeFunc)(int, int);
  29. extern void (*DisplayFunc)(void);
  30. extern GLenum (*KeyDownFunc)(int, GLenum);
  31. extern GLenum (*MouseDownFunc)(int, int, GLenum);
  32. extern GLenum (*MouseUpFunc)(int, int, GLenum);
  33. extern GLenum (*MouseMoveFunc)(int, int, GLenum);
  34. extern void (*IdleFunc)(void);
  35.  
  36. extern GLenum drawAllowFlag;
  37.  
  38. extern int cursorNum;
  39.  
  40.